//
//  ITNetWorkModel.h
//  Walk
//
//  Created by seven on 2020/9/8.
//  Copyright © 2020 seven. All rights reserved.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ITNetWorkModel : BaseModel

IT_PROPERTY_ASSIGN BOOL success;
IT_PROPERTY_ASSIGN int statusCode;
IT_PROPERTY_ASSIGN int code;
IT_PROPERTY_STRONG id data;
IT_PROPERTY_STRONG NSString *message;
IT_PROPERTY_ASSIGN long long timestamp;// 当前服务端时间戳
IT_PROPERTY_ASSIGN long timeInterval;// 当前服务端时间,在一天中的秒数,取值范围[0, 24*60*60]

IT_PROPERTY_STRONG id res;

IT_PROPERTY_STRONG NSString *url;

IT_PROPERTY_STRONG NSDictionary *params;

IT_PROPERTY_STRONG NSError *error;

IT_PROPERTY_STRONG NSString *errorMsg;

IT_PROPERTY_ASSIGN CGFloat beginTime;
IT_PROPERTY_ASSIGN CGFloat finishTime;

IT_PROPERTY_ASSIGN CGFloat coast;

IT_PROPERTY_ASSIGN CGFloat encodeTime;
IT_PROPERTY_ASSIGN CGFloat encodeCoast;
IT_PROPERTY_ASSIGN CGFloat decodeTime;
IT_PROPERTY_ASSIGN CGFloat decodeCoast;

@end

NS_ASSUME_NONNULL_END
